package aber.cs12320.week3;

public class Clock {

	private Time currentTime;
	private Time alarmTime;
	private boolean alarmSet;

	public Clock(Time currentTime, Time alarmTime, boolean alarmSet) {
		this.currentTime = currentTime;
		this.alarmTime = alarmTime;
		this.alarmSet = alarmSet;
	}

	public Time getCurrentTime() {
		return currentTime;
	}

	public void setCurrentTime(Time currentTime) {
		this.currentTime = currentTime;
	}

	public Time getAlarmTime() {
		return alarmTime;
	}

	public void setAlarmTime(Time alarmTime) {
		this.alarmTime = alarmTime;
	}

	public boolean isAlarmSet() {
		return alarmSet;
	}

	public void setAlarmSet(boolean alarmSet) {
		this.alarmSet = alarmSet;
	}

	@Override
	public String toString() {
		return "Clock [currentTime=" + currentTime + ", alarmTime=" + alarmTime
				+ ", alarmSet=" + alarmSet + "]";
	}

}
